home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
eft100.arc
/
TESTARC.BTM
< prev
next >
Wrap
Text File
|
1991-07-03
|
820b
|
25 lines
@echo off
rem THIS IS A 4DOS BATCH!
iff (%@ext[%1]) == (ZIP) then^x:\dos\arc\pkunzip /t %1^
else iff (%@ext[%1]) == (LZH) then^x:\dos\arc\lha t -m %1^
else iff (%@ext[%1]) == (ICE) then^x:\dos\arc\lha t -m %1^
else iff (%@ext[%1]) == (ARJ) then^x:\dos\arc\arj t -yi %1^
else iff (%@ext[%1]) == (DWC) then^x:\dos\arc\dwc t! %1^
else iff (%@ext[%1]) == (PAK) then^x:\dos\arc\pak t %1^
else iff (%@ext[%1]) == (SDN) then^x:\dos\arc\pak t %1^
else iff (%@ext[%1]) == (ARC) then^x:\dos\arc\arc tw %1^
else iff (%@ext[%1]) == (HYP) then^x:\dos\arc\hyper -xo %1 c:\tmp^
else iff (%@ext[%1]) == (ZOO) then^x:\dos\arc\zoo -test %1^
endiff
if errorlevel 2 goto bad
if "%2" == "21" goto pd
if "%2" GE "15" goto notpd
:pd
call archead p! %1
goto weiter
:notpd
call archead c! %1
:weiter
dir > good
:bad